<?php

use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;

class CreateRecontentsTable extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::create('recontents', function (Blueprint $table) {
            $table->integer('comment_id')->comment('评论id');
            $table->string('content')->comment('评论内容');
            $table->string('recont')->comment('回复内容');            
            $table->timestamps();
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        Schema::drop('recontents');
    }
}
